package cn.tedu.egbank.account.mapper;

import cn.tedu.egbank.account.pojo.entity.Account;
import cn.tedu.egbank.account.pojo.vo.AccountVO;
import cn.tedu.egbank.account.pojo.vo.AllOfAccountVO;

import java.util.ArrayList;

public interface AccountMapper {
    int insertAccount(Account account);

    AccountVO selectNewAccount(Account account);

    ArrayList<AccountVO> selectAll();

    int deleteAccount(Integer accountId);

    AllOfAccountVO selectAllById(Integer accountId);
}
